package cn.bdqn.service.user;

import cn.bdqn.dao.User.PermissionMapper;
import cn.bdqn.pojo.User.User_Permission;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.security.Permission;
import java.util.List;

@Service
public class PermissionService{

    @Autowired
    private PermissionMapper permissionMapper;

    public List<User_Permission> getPermission(Integer id){
        System.out.println(id);
        return permissionMapper.getPermission(id);
    }

}
